import { request } from '../../index'

export function GetclassFyList() {
  return  request({
      url: "/shop/goods/category/all",
    })
}

export function GetclassFyListT({categoryid,token}) {
  return  request({
      url: "/shop/goods/list",
      data:{ 
        categoryid,
        token
      }
    })
}
// 购物车
export function addCart({goodsId,token,number}) {
  return  request({
      url: "/shopping-cart/add",
      data:{ 
        goodsId,
        token,
        number
      },
      method:'POST',
    })
}
